<template>
  <el-dialog v-model="dialogVisible" width="1280" style="padding: 0">
    <div class="backImgBox">
      <div class="backImg">
        <img :src="newData.detilsImage" alt="" srcset="" />
      </div>
    </div>
    <div class="contentBox">
      <div class="card jusCenter">
        <div class="title center">
          {{ newData.titleDate }}
        </div>
        <div class="title2 center">
          {{ newData.title }}
        </div>
        <div class="size">
          {{ newData.detils }}
        </div>
      </div>
    </div>
  </el-dialog>
</template>

<script setup>
import { ref, reactive, defineProps, onMounted, defineExpose } from 'vue'
import { useI18n } from "vue-i18n"
let { locale } = useI18n()
import Zh from '@/assets/i18n/langs/zh.js'
import En from '@/assets/i18n/langs/en.js'
let props = defineProps(['newDetilsData'])
let newData = reactive({})
let dialogVisible = ref(false)
const open = () => {

  dialogVisible.value = true
}
defineExpose({ open, newData })
</script>

<style lang="scss" scoped>
.backImg {
  height: 880px;
  width: 100%;
  img {
    width: 100%;
    height: 100%;
  }
}
.contentBox {
  min-height: 500px;
  background: #131718;
  padding-bottom: 50px;
  .contentImg {
    width: 1450px;
    height: 850px;
    margin-top: 90px;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .title {
    font-size: 48px;
    width: 1400px;
    font-weight: bold;
    color: #ffdd00;
  }
  .title2 {
    font-size: 42px;
    width: 1400px;
    font-weight: bold;
    color: #ffdd00;
  }
  .size {
    width: 1400px;
    font-size: 33px;
    color: white;
    margin-top: 100px;
  }
}
</style>